class SystemConfigValue {
  String? img;
  int? linkType;
  String? linkUrl;
  SystemConfigValue.fromJson(Map<String, dynamic> json) {
    img = json['img'];
    linkType = json['linkType'];
    linkUrl = json['linkUrl'];
  }
}

class SystemConfig {
  String? id;
  String? key;
  SystemConfigValue? value;
  bool? isActive;
  String? createdAt;
  String? updatedAt;

  SystemConfig.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    value = SystemConfigValue.fromJson(json['value']);
    key = json['key'];
    isActive = json['isActive'];
    createdAt = json['createdAt'];
    updatedAt = json['updatedAt'];
  }
}
